<?php
/**
 * @var \Ke\Web\Route\Router $router
 * App routes config file.
 */

$router->routes = [
	'*'    => [
		'controller' => 'index',
	],
	'curd' => [
		'namespace'  => '',
		'controller' => 'curd',
		'mappings'   => [
			['{model}(/{action})?', null, ['model' => '[a-z0-9_]+']],
		],
	],
    'task' => [
	    'namespace'  => '',
	    'controller' => 'task',
    ],
	//	'path_namespace' => [
	//		'path'      => 'any',
	//		'namespace' => 'namespace',
	//	],
	//	'path_class'     => [
	//		'class'  => 'classFullName',
	//		'action' => 'ok',
	//	],
];
